package cc.comac.mom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
@TableName("equip_spare_part_equip_relation")
public class EquipSparePartEquipRelationEntity extends BaseResultEntity {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableId(value = "spare_part_equip_id",type = IdType.INPUT)
	@TableField("spare_part_equip_id")
	private long id;
	
	private long sparePartId;
	
	private long equipDevId;
	
	private long lifeCycle;
	
	private long usedQuantity;
	
	private String description;
	
	@Override
	public long getId() {
		return id;
	}

	@Override
	public void setId(long id) {
		this.id = id;
	}

	public long getSparePartId() {
		return sparePartId;
	}

	public void setSparePartId(long sparePartId) {
		this.sparePartId = sparePartId;
	}

	public long getEquipDevId() {
		return equipDevId;
	}

	public void setEquipDevId(long equipDevId) {
		this.equipDevId = equipDevId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public long getLifeCycle() {
		return lifeCycle;
	}

	public void setLifeCycle(long lifeCycle) {
		this.lifeCycle = lifeCycle;
	}

	public long getUsedQuantity() {
		return usedQuantity;
	}

	public void setUsedQuantity(long usedQuantity) {
		this.usedQuantity = usedQuantity;
	}
}
